package cn.jiyun.service.impl;

import cn.jiyun.entity.AreaVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.jiyun.entity.ZhylArea;
import cn.jiyun.service.ZhylAreaService;
import cn.jiyun.mapper.ZhylAreaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 31511
* @description 针对表【zhyl_area】的数据库操作Service实现
* @createDate 2024-10-31 17:04:37
*/
@Service
public class ZhylAreaServiceImpl extends ServiceImpl<ZhylAreaMapper, ZhylArea>
    implements ZhylAreaService{
    @Autowired
    private ZhylAreaMapper zhylAreaMapper;

    @Override
    public Page<ZhylArea> findPage(Integer pageNum, Integer pageSize, AreaVo areaVo) {
        Page<ZhylArea> page = new Page<>(pageNum, pageSize);

        return zhylAreaMapper.findPaege(page, areaVo);
    }
}




